<template>
  <div>
    <div class="header">
        <div class="header_img"><div @click="back()"  class="IMG"></div></div>
        <div class="title">认证</div>
        <div class="IMG1"></div>
    </div>

    <div class="base_content">
        <img src="../../assets/images/product1@2x.png"/>
        <div class="content_text">
            <p>产品经理认证</p>
            <p>【无资格】</p>
            <button><font color="#fff">立即申请</font></button>
        </div>
    </div>
    <div class="base_content">
      <img src="../../assets/images/product2@2x.png"/>
      <div class="content_text">
        <p>优质开发者认证</p>
        <p>【未达标】</p>
        <button class="orange"><font color="#fff">查看详情</font></button>
      </div>
    </div>
    <div class="base_content">
      <img src="../../assets/images/product3@2x.png"/>
      <div class="content_text">
        <p>项目经理认证</p>
        <p>【未达标】</p>
        <button class="orange"><font color="#fff">查看详情</font></button>
      </div>
    </div>
    <div class="base_content">
      <img src="../../assets/images/product4@2x.png"/>
      <div class="content_text">
        <p>企业信息认证</p>
        <p>【待申请】</p>
        <button class="green"><font color="#fff">立即申请</font></button>
      </div>
    </div>
  </div>
</template>

<script>
    export default {
        name: "certification",
        data(){
        return {
        }
      },
      methods: {
        back() {
          window.webkit.messageHandlers.certification.postMessage({});
        },
      }
    }
</script>

<style scoped>
  .header {
    box-sizing: border-box;
    position: relative;
    display: flex;
    height: 90px;
    background-color: #8ec43e;
    align-items: center;
    padding: 0 30px;
  }

  .header_img {
    flex:1;
  }
  .IMG1{
    flex:1;
    text-align: right;
  }

  .title {
    text-align: center;
    flex: 1;
    font-size: 34px;
    font-weight: 400;
    color: #ffff;
  }
  .base_content{
    width:690px;
    height:300px;
    background: url('../../assets/images/cerbg@2x.png') center no-repeat;
    border-radius: 10px 10px 10px 10px;
    margin: 30px 30px 30px 30px;
    position: relative;
  }
  .base_content .content_text{
    position: absolute;
    right:30px;
    top:58px;
    width:250px;
    height:242px;
  }
  .base_content .content_text p{
    text-align: center;
    font-size: 34px;
    font-weight: 400;
    color:rgba(84,84,84,1);
  }
  .base_content .content_text button{
    margin-top: 50px;
    font-size: 30px;
    font-weight: 400;
    font-color: #fff;
    background: rgba(203,203,203,1);
    width:100%;
    height: 52px;
  }
  .base_content .content_text .orange{
    background: rgba(255,111,52,1);
  }
  .base_content .content_text .green{
    background: rgba(142,196,62,1);
  }

</style>
